import request from "@/utils/request.js";

export function getTimingTaskList(data) {
  return request({
    url: "/vehicle-mission-timer/v1/list",
    method: "get",
    data: data,
  });
}

export function deleteTimingTask(id) {
  return request({
    url: "/vehicle-mission-timer/v1/delete/" + id,
    method: "delete",
  });
}

export function createTimingTask(data) {
  return request({
    url: "/vehicle-mission-timer/v1/create",
    method: "post",
    data: data,
  });
}
